projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2989ad9
)
Fix test-completion with completion-regexp-list
author
Noam Postavsky
<npostavs@gmail.com>
Sat, 25 Jun 2016 00:44:44 +0000
(20:44 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Mon, 27 Jun 2016 01:12:33 +0000
(21:12 -0400)
* src/minibuf.c (Ftest_completion): Handle alist COLLECTION with non-nil
completion-regexp-list (Bug #23533).
src/minibuf.c
patch
|
blob
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index efce7e26b29519ab2c1edc9da3ee137c9f746e9b..57eea05b0fc897a6b17eb6d394da570104d97109 100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-1686,6
+1686,8
@@
the values STRING, PREDICATE and `lambda'. */)
tem = Fassoc_string (string, collection, completion_ignore_case ? Qt : Qnil);
if (NILP (tem))
return Qnil;
+ else if (CONSP (tem))
+ tem = XCAR (tem);
}
else if (VECTORP (collection))
{